package com.blackfish.type;

import com.jfinal.core.Controller;

import java.util.List;

import com.blackfish.common.model.Type;
public class TypeController extends Controller{
	private TypeService service = new TypeService();
	
	public void table(){
		List<Type> types = service.findAll();
		renderJson(types);
	}
	
}
